package chemtools_logica.Entidades.Vista;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;
import javax.persistence.Table;

@Entity
@NamedQueries({
              @NamedQuery(name = "Graficoinsumoenprodpormes.findAll",
                          query = "select o from Graficoinsumoenprodpormes o") })
@Table(name = "\"graficoinsumoenprodpormes\"")
public class Graficoinsumoenprodpormes implements Serializable {
    private static final long serialVersionUID = 5324848934709216083L;
    @Column(name = "Cantidad_Usada", nullable = false)
    private long cantidad_Usada;
    @Column(name = "Insumo")
    private String insumo;
    @Id
    @Column(name = "anio")
    private int anio;
    @Id
    @Column(name = "mes")
    private String mes;

    public Graficoinsumoenprodpormes() {
    }

    public Graficoinsumoenprodpormes(int anio, long cantidad_Usada, String insumo, String mes) {
        this.anio = anio;
        this.cantidad_Usada = cantidad_Usada;
        this.insumo = insumo;
        this.mes = mes;
    }

    public long getCantidad_Usada() {
        return cantidad_Usada;
    }

    public void setCantidad_Usada(long cantidad_Usada) {
        this.cantidad_Usada = cantidad_Usada;
    }

    public String getInsumo() {
        return insumo;
    }

    public void setInsumo(String insumo) {
        this.insumo = insumo;
    }

    public int getAnio() {
        return anio;
    }

    public void setAnio(int anio) {
        this.anio = anio;
    }

    public String getMes() {
        return mes;
    }

    public void setMes(String mes) {
        this.mes = mes;
    }
}
